<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" th:href="@{/css/style.css}">
    <title>login</title>
</head>

<body>
<form th:action="@{/user/login}">
    <div class="login-container">
        <div class="left-container">
            <div class="title"><span>登录</span></div>
            <div style="color:red" align="center" th:text="${reg}"></div>
            <div class="input-container">
                <input type="text" name="user_realname" placeholder="用户名">
                <input type="password" name="user_pwd" placeholder="密码">
            </div>
            <div class="message-container">
                <span>忘记密码</span>
            </div>
        </div>
        <div class="right-container">
            <div class="regist-container">
                <span class="regist">注册</span>
            </div>
            <div class="action-container">
             <button  type="submit" >登录</button>
            </div>
        </div>
    </div>
    </form>
</body>

</html>